<template>
  <div class="screenType">
    <div class="mask"></div>
    <div class="screenTypeContent">
      <div class="screenTypeTop">
        <p>筛选款号</p>
        <i class="el-icon-close" @click="close"></i>
      </div>
      <div style="padding:0 20px;">
        <div class="screenTypeBtn">
          <span>编号条件</span>
          <el-input v-model="input" style="width: 160px;margin: 0 10px;height:30px"></el-input>
          <el-button icon="el-icon-zoom-in" type="primary" @click="search">查询</el-button>
          <el-button icon="el-icon-document-checked">保存</el-button>
          <el-button icon="el-icon-delete">删除</el-button>
          <el-button icon="el-icon-delete">清空</el-button>
        </div>
        <div style="display:flex">
          <div class="box1">
            <span>筛选条件</span>
            <el-select v-model="value" style="width: 200px;margin-left:10px;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
            <el-table
            style="margin-top:15px"
              height="450"
              :header-cell-style="{padding:0,height:'40px',background:'#f4f4f4'}"
              :cell-style="{padding:0,height:'36px'}"
              :data="tableData">
              <el-table-column
                type="selection"
                width="50">
              </el-table-column>
              <el-table-column
                prop="date"
                label="季度">
              </el-table-column>
            </el-table>
          </div>
          <div class="box2">
            <el-table
              height="495"
              :header-cell-style="{padding:0,height:'40px',background:'#f4f4f4'}"
              :cell-style="{padding:0,height:'36px'}"
              :data="tableData">
              <el-table-column
                type="selection"
                width="50">
              </el-table-column>
              <el-table-column
                prop="date"
                label="款号"
                width="180">
              </el-table-column>
              <el-table-column
                prop="name"
                label="品名">
              </el-table-column>
              <el-table-column
                prop="address"
                label="季度"
                width="80">
              </el-table-column>
            </el-table>
          </div>
          <div class="box3">
            <el-table
              height="495"
              :header-cell-style="{padding:0,height:'40px',background:'#f4f4f4'}"
              :cell-style="{padding:0,height:'36px'}"
              :data="tableData">
              <el-table-column
                prop="date"
                label="季度"
                width="80">
              </el-table-column>
              <el-table-column
                prop="name"
                label="款号"
                width="180">
              </el-table-column>
              <el-table-column
                prop="address"
                label="操作员">
              </el-table-column>
            </el-table>
          </div>
        </div>
        
      </div>
      
    </div>
  </div>
</template>

<script>
export default {
  data(){
    return {
      input: '',
      value: '',
      options: [],
      tableData: [
        {
          date: '2016-05-02',
          name: '王小虎',
          address: '上海'
        }, {
          date: '2016-05-04',
          name: '王小虎',
          address: '上海'
        }
      ]
    }
  },
  methods: {
    close(){
      this.$emit('closeScreenType')
    },
    search(){

    }
  }
}
</script>

<style scoped>
  .screenType .mask{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
    z-index: 9;
  }
  .screenType .screenTypeContent{
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 650px;
    z-index: 99;
    background-color: white;
  }
  .screenType .screenTypeContent .screenTypeTop{
    height: 40px;
    background-color: #f8f8f8;
  }
  .screenType .screenTypeContent .screenTypeTop p{
    float: left;
    line-height: 40px;
    padding-left: 20px;
    font-weight: bold;
  }
  .screenType .screenTypeContent .screenTypeTop i{
    float: right;
    line-height: 40px;
    padding: 0 16px;
  }
  .screenType .screenTypeBtn{
    background-color: #f8f8f8;
    margin: 20px 0;
    padding: 15px 20px;
    height: 60px;
  }

  .screenType .box1{
    width: 300px;
    border-right: 2px #f8f8f8 solid;
    padding-right: 15px;
  }
  .screenType .box2{
    width: 500px;
    border-right: 2px #f8f8f8 solid;
    padding: 0 15px;
  }
  .screenType .box3{
    width: 360px;
    padding-left: 15px;
  }
</style>

<style>
  .screenType .el-input__inner{
    height: 30px;
  }
</style>